package no.group.gowther.dao.entity.param;

import org.springframework.util.CollectionUtils;

import java.util.List;

public class OnePieceQueryParam {
    private List<String> type;
    private List<Long> tag;

    public OnePieceQueryParam(List<String> type, List<Long> tag) {
        this.type = CollectionUtils.isEmpty(type) ? null : type;
        this.tag = CollectionUtils.isEmpty(tag) ? null : tag;
    }

    public List<String> getType() {
        return type;
    }

    public void setType(List<String> type) {
        this.type = type;
    }

    public List<Long> getTag() {
        return tag;
    }

    public void setTag(List<Long> tag) {
        this.tag = tag;
    }
}
